package com.llcbenwu.config;


/**
 * @author lilinchun
 * @date 2021/10/25 0025 20:10
 */

public class SecurityProperies {


    /**
     * 认证成功或者错误返回的数据类型
     */
    public static final LoginType LOGINTYPE = LoginType.JSON;

    /**
     * 图片验证码宽度
     */
    public static final Integer WIDTH = 100;

    /**
     * 图片验证码高度
     */
    public static final Integer HEIGHT = 20;

    /**
     * 图片验证码位数
     */
    public static final Integer LENGTH = 4;

    /**
     * 需要过滤的url使用“，”隔开
     */
    public static final String URL = "/authentication/form";

    /**
     * 需要短信过滤的url使用“，”隔开
     */
    public static final String URLSMS = "/authentication/mobile";


    /**
     * 默认的OPENID登录请求处理url
     */
        public static final  String DEFAULT_LOGIN_PROCESSING_URL_OPENID = "/authentication/openId";


    /**
     * 配置记住我的过期时间3600秒
     */
    public static final int REMBERMESECONDS = 3600;

    /**
     * 系统退出登录跳转路径
     */
    public static final String REDIRECTURL = "/llc-signOut.html";


    /**
     * openid参数名
     */
    public static final String DEFAULT_PARAMETER_NAME_OPENID = "openId";


    /**
     * providerId参数名
     */
    public static final String DEFAULT_PARAMETER_NAME_PROVIDERID = "providerId";

    /**
     * jwt秘钥
     */
    public  static  final  String JWT_SECURITY="llc";

}
